package com.cn.xiaonuo.slbfinances.slbreward.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface CmPrizeLogMapper extends BaseMapper<String> {
    /*中奖记录*/
    public List<Map<String,Object>> myPrizeLog(@Param("userId") String userId, @Param("phone") String phone, @Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("prizeGrade") String prizeGrade, @Param("useState") String useState);
    /*抽奖规则配置修改*/
    public Integer updatePrizeConfig(@Param("configValue") String configValue, @Param("configId") String configId);
    /*抽奖规则配置*/
    public List<Map<String,Object>> queryPrizeConfig();
}
